/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package objectRank;

import java.io.Serializable;

/**
 *
 * @author Reza
 */
public class GoogleDocument implements Serializable{
    private String URL;
    private String title;
    private String content;

    public GoogleDocument(String URL){
        this.URL = URL;
    }

    public GoogleDocument(String URL, String title){
        this.URL = URL;
        this.title = title;
    }

    public GoogleDocument(String URL, String title, String content){
        this.URL = URL;
        this.title = title;
        this.content = content;
    }
    /**
    *
    * @return The link to the document on the web
    */
    public String getURL(){
        return URL;
    }

    public void setURL(String URL){
        this.URL = URL;
    }

    public String getTitle(){
        return title;
    }

    public void setTitle(String title){
        this.title = title;
    }

    public String getContent(){
        return content;
    }

    public void setContent(String content){
        this.content = content;
    }

    public String toString(){
        return URL;
    }
}
